package com.miao.elm.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.miao.elm.entity.CartEntity;
import com.miao.elm.to.CartTo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2022-11-01 11:53:46
 */
@Mapper
public interface CartDao extends BaseMapper<CartEntity> {

    int updateCart(@RequestParam("cartTo") CartTo cartTo);

    int removeCart(@RequestParam("cartTo") CartTo cartTo);
}
